home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / WIN_PRO / OWLCTL.ZIP;1 / _README.TXT next >
Encoding:
Text File  |  1993-06-22  |  1.3 KB  |  34 lines

  1. Why suty3d.dll?
  2.  
  3. I created this dll to replace ctl3d.dll.  You cannot use ctl3d.dll
  4. with OWL on controls on the main window.  Also I didn't
  5. want to have to worry about using subclassing to get the 3D
  6. effects.
  7.  
  8. Project suty3d builds the dll.  Project tstctl gives an example using it.
  9.  
  10. Using this is about the same as ctl3d.dll.  See the source code
  11. for the project tstctl.  This will show how to use 3D controls
  12. on the main window, on a dialog box, and on the common dialog
  13. boxes.
  14. -Include uty25001.h
  15. -Add suty3d.lib to the project
  16. -Have at least one call to the dll in the source code.
  17.   (if you don't have any calls put a call in for
  18.    UtyCtlMakeLink() it's there just for that reason)
  19. - Change the class names of controls you want 3d
  20.   in the .rc file to UTY3d_xxxxx.
  21. - Change the class of the dialog to uty3d_dlg.
  22. - trap the wm_ctlcolor message and call the function in the dll.
  23.   (see tstctl.cpp)
  24. - See function FileOpen in tstctl.cpp on how to use common dialogs.
  25.  
  26.  
  27. I'm not done with this code yet but have been requested
  28. to post what I have so far.  I have only tested the common dialog
  29. boxes for open, color, and font.  The others should work ok though.
  30.  
  31. I will be adding the code to the dll so the new controls can
  32. be added from resource workshop.
  33.  
  34. Ken Walters